import { PORT1 } from "@/api/config/servicePort";
import Http from "@/api/index";

const baseUrl = PORT1 + "/system/city_setting";

export const getManageCities = () => {
  return Http.get(baseUrl + "/region");
};

export const getCityConfig = (params: any) => {
  return Http.get(baseUrl + "/config", params);
};

export const editCityConfig = (params: any) => {
  return Http.put(baseUrl + "/edit", params);
};
